LassoScript Utility
Basics Browse Detail

[Image->AddComment]

Tag Link [Image->AddComment] Category Image
Type Member Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

Adds a file header comment to the image before it is saved. Passing a null parameter removes any existing comments.

Syntax

[Image Variable->(AddComment: 'File comment')]

[Image Variable->(AddComment: Null)]

Parameters

Required Parameters
'Comment' The comment to be appended to the file header.

Examples

To add a comment to an image file header:

Use the [Image->AddComment] tag to add a comment to a defined image variable before it is saved to file. This comment is not displayed, but stored with the image file information.

[Var: 'MyImage' =(Image: '/images/image.gif')]
[$MyImage->(AddComment: 'This is a comment')]
[$MyImage->(Save: '/images/image.gif')]